﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="StartPage.aspx.cs" Inherits="TCGWeb.StartPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    Game name: <asp:TextBox runat="server" ID="tbxCreateGame"></asp:TextBox>
    <asp:Button runat="server" ID="btnCreateGame" Text="Create Game" OnClick="btnCreateGame_Click" />
    <br /><br />
    Available Games:
    <br />
    <asp:Repeater runat="server" ID="rptAvailableGames">
        <ItemTemplate>
            <asp:LinkButton runat="server" ID="lbtJoinGame" OnCommand="lbtJoinGame_Command" CommandArgument='<%# Eval("Name") %>'><%# Eval("Name") %></asp:LinkButton>
            <br />
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>
